package com.Bean;

import java.text.SimpleDateFormat;
import java.util.Date;

public class News {
	private int xId;
	private String title;
	private String content;
	private String author;
	private Date time;
	private String create_time;
	public int getxId() {
		return xId;
	}
	public void setxId(int xId) {
		this.xId = xId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
	/*	SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		this.create_time=sdf.format(time);
		this.create_time = time;*/
		this.time=time;
	}
	
	

}
